Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

186
Visualizações
Axios | Ajax | Fetch async-await JS | XMLHttpRequest | Which are the best working with PHP?

There are various options:

  • Axios
  • Ajax
  • Fetch
  • XMLHttpRequest

I understand they are all used to fetch data without refreshing the page, but I am confused about which would be better to work with PHP?

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

Underneath they are all the same technology. Those are just different interfaces to doing the same thing - making an asynchronous HTTP request to the server without refreshing the page.

PHP doesn't know - and doesn't care - which one you use to make your request. All it knows is that a request arrived. How it was generated is not something which matters to it.

That's the beauty of protocols such as HTTP - as long as both client and server understand the protocol, they don't need to care how each other is actually implemented.

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda